﻿﻿using System;
using System.Collections.Generic;
using System.Web;
namespace WebMvc.App.Models.Tips.Common
{
    public class article_category
    {
		public string id=null;
		public string channel_id=null;
		public string title=null;
		public string parent_id=null;
		public string class_list=null;
		public string class_layer=null;
		public string sort_id=null;
		public string link_url=null;
		public string img_url=null;
		public string content=null;
		public string seo_folder=null;
		public string seo_title=null;
		public string seo_keywords=null;
		public string seo_descrition=null;
        public string __name__;
        public article_category(string name)
        {
            this.__name__ = name;
			this.id = string.Format("{0}.id",__name__);
			this.channel_id = string.Format("{0}.channel_id",__name__);
			this.title = string.Format("{0}.title",__name__);
			this.parent_id = string.Format("{0}.parent_id",__name__);
			this.class_list = string.Format("{0}.class_list",__name__);
			this.class_layer = string.Format("{0}.class_layer",__name__);
			this.sort_id = string.Format("{0}.sort_id",__name__);
			this.link_url = string.Format("{0}.link_url",__name__);
			this.img_url = string.Format("{0}.img_url",__name__);
			this.content = string.Format("{0}.content",__name__);
			this.seo_folder = string.Format("{0}.seo_folder",__name__);
			this.seo_title = string.Format("{0}.seo_title",__name__);
			this.seo_keywords = string.Format("{0}.seo_keywords",__name__);
			this.seo_descrition = string.Format("{0}.seo_descrition",__name__);
        }
        public article_category()
        {
			this.id = string.Format("{0}.id",__name__);
			this.channel_id = string.Format("{0}.channel_id",__name__);
			this.title = string.Format("{0}.title",__name__);
			this.parent_id = string.Format("{0}.parent_id",__name__);
			this.class_list = string.Format("{0}.class_list",__name__);
			this.class_layer = string.Format("{0}.class_layer",__name__);
			this.sort_id = string.Format("{0}.sort_id",__name__);
			this.link_url = string.Format("{0}.link_url",__name__);
			this.img_url = string.Format("{0}.img_url",__name__);
			this.content = string.Format("{0}.content",__name__);
			this.seo_folder = string.Format("{0}.seo_folder",__name__);
			this.seo_title = string.Format("{0}.seo_title",__name__);
			this.seo_keywords = string.Format("{0}.seo_keywords",__name__);
			this.seo_descrition = string.Format("{0}.seo_descrition",__name__);
        }
        public override string ToString()
        {
            if (__name__ == null)
            {
                return "article_category";
            }
            else
            {
                return string.Format("article_category as {0}",__name__);
            }
        }
    }
}